<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .top{
            width: 100%;
            height: 40px;
            background-color: #333333;
        }
        .header{
            width: 1226px;
            height: 100px;
            background-color: #ffc0cb;
            margin: 0 auto;
        }
        .content {
            width: 1226px;
            height: 460px;
            margin: 0 auto;
            background-color: green;
        }
        .left{
            float: left;
            width: 234px;
            height: 460px;
            background-color: #ffa500;
        }
        .right{
            float: left;
            width: 992px;
            height: 460px;
            background-color: #87ceeb;
        }
        /*
        css 书写顺序：
         1. 浮动或者display
         2. 盒子模型的相关属性margin border padding 宽高和背景色
         3. 文字样式
         */

    </style>

</head>
<body>
<div class="top"></div>
<div class="header">头部</div>
<div class="content">
    <div class="left">左</div>
    <div class="right">右</div>
</div>
</body>
</html>